﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace INSTA_ORM
{
    /// <summary>
    /// Représente les informations sur une propriété Mappée
    /// d'une classe Mappée.
    /// </summary>
    public class PropertyMapping
    {

        /// <summary>
        /// Gets or sets the name of the property.
        /// </summary>
        public string   PropertyName            { get; set; }

        /// <summary>
        /// Gets or sets the name of the property field.
        /// </summary>
        public string   PropertyFieldName       { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether this instance is primary key.
        /// </summary>
        /// <value>
        /// 	<c>true</c> if this instance is primary key; 
        /// 	otherwise, <c>false</c>.
        /// </value>
        public bool     IsPrimaryKey            { get; set; }

    }
}
